﻿using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Linq.Expressions;
using ASPItalia.ModelVirtualCasting.Common;
using ASPItalia.ModelVirtualCasting.ObjectModel;
using ASPItalia.ModelVirtualCasting.Parts;

namespace ASPItalia.ModelVirtualCasting.Fake
{
    [Export("LanguageRepository", typeof(ILanguageRepository))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    [RepositoryMetadata(Name = "LanguageRepository", IsFake = true)]
    public class LanguageRepository : BaseRepository<ILanguageRepository>, ILanguageRepository
    {
        public IQueryable<Language> GetAll()
        {
            return null;
        }

        public IQueryable<Language> Where(Expression<Func<Language, bool>> predicate)
        {
            return null;
        }

        public long Count(Expression<Func<Language, bool>> predicate)
        {
            return 0L;
        }

        public ILanguageRepository EnableLazyLoading()
        {
            return this;
        }

        public ILanguageRepository DisableLazyLoading()
        {
            return this;
        }

        public ILanguageRepository Include(string path)
        {
            return this;
        }


				public ILanguageRepository Include<TProperty>(Expression<Func<Language, TProperty>> path)
				{
					return this;
				}

				public ILanguageRepository CreateQuery()
				{
					return this;
				}

				public ILanguageRepository DoNotTrack()
				{
					return this;
				}
		}
}